package edu.tms.bean;

import java.util.*;


public class Attendance {
	/**
	 * 考勤id
	 */
	private Integer attendanceId;

	/**
	 * 课程考勤id
	 */
	private Integer courseAttendanceId;

	/**
	 * 学生id
	 */
	private Integer stuId;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 是否迟到 1:正常 2:迟到
	 */
	private Integer arriveLateState;

	/**
	 * 是否早退 1:正常 2:早退
	 */
	private Integer leaveEarlyState;

	/**
	 * 是否请假 1:正常 2:请假
	 */
	private Integer begOffState;
	
	/**
	 * 虚拟字段：课程名称
	 */
	private String courseName;
	
	/**
	 * 虚拟字段：学生姓名
	 */
	private String stuName;
	
	/**
	 * 虚拟字段：所在学期
	 */
	private String courseterm;
	
	/**
	 * 虚拟字段：'周次'
	 */
	private Integer courseweek;
	
	/**
	 * 虚拟字段：所在周次星期
	 */
	private String courseday;
	
	/**
	 * 虚拟字段：课时 1:上午 2:下午 3:晚上
	 */
	private Integer coursetime;
	
	private String squadName;
	
	private String squadleader;

	public Attendance () {
		super();
	}

	public Attendance (Integer attendanceId,Integer courseAttendanceId,Integer stuId,Date createTime,Integer arriveLateState,Integer leaveEarlyState,Integer begOffState) {
		this.attendanceId = attendanceId;
		this.courseAttendanceId = courseAttendanceId;
		this.stuId = stuId;
		this.createTime = createTime;
		this.arriveLateState = arriveLateState;
		this.leaveEarlyState = leaveEarlyState;
		this.begOffState = begOffState;
	}
	
	
	public String getSquadleader() {
		return squadleader;
	}

	public void setSquadleader(String squadleader) {
		this.squadleader = squadleader;
	}

	public String getCourseName() {
		return courseName;
	}

	public String getSquadName() {
		return squadName;
	}

	public void setSquadName(String squadName) {
		this.squadName = squadName;
	}

	public String getCourseterm() {
		return courseterm;
	}

	public void setCourseterm(String courseterm) {
		this.courseterm = courseterm;
	}

	public Integer getCourseweek() {
		return courseweek;
	}

	public void setCourseweek(Integer courseweek) {
		this.courseweek = courseweek;
	}

	public String getCourseday() {
		return courseday;
	}

	public void setCourseday(String courseday) {
		this.courseday = courseday;
	}

	public Integer getCoursetime() {
		return coursetime;
	}

	public void setCoursetime(Integer coursetime) {
		this.coursetime = coursetime;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	public String getStuName() {
		return stuName;
	}

	public void setStuName(String stuName) {
		this.stuName = stuName;
	}

	//
	public Integer getAttendanceId() {
		return this.attendanceId;
	}

	public void setAttendanceId(Integer attendanceId) {
		this.attendanceId = attendanceId;
	}

	public Integer getCourseAttendanceId() {
		return this.courseAttendanceId;
	}

	public void setCourseAttendanceId(Integer courseAttendanceId) {
		this.courseAttendanceId = courseAttendanceId;
	}

	public Integer getStuId() {
		return this.stuId;
	}

	public void setStuId(Integer stuId) {
		this.stuId = stuId;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getArriveLateState() {
		return this.arriveLateState;
	}

	public void setArriveLateState(Integer arriveLateState) {
		this.arriveLateState = arriveLateState;
	}

	public Integer getLeaveEarlyState() {
		return this.leaveEarlyState;
	}

	public void setLeaveEarlyState(Integer leaveEarlyState) {
		this.leaveEarlyState = leaveEarlyState;
	}

	public Integer getBegOffState() {
		return this.begOffState;
	}

	public void setBegOffState(Integer begOffState) {
		this.begOffState = begOffState;
	}

	@Override
	public String toString() {
		return "Attendance[attendanceId=" + attendanceId+ ", courseAttendanceId=" + courseAttendanceId + ", stuId=" + stuId + ", createTime=" + createTime + ", arriveLateState=" + arriveLateState + ", leaveEarlyState=" + leaveEarlyState + ", begOffState=" + begOffState + "]";
	}


}

